package com.neusoft.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AIMapper {
	
	// 根据点餐分类编号查询所属商家信息
	@Select("select str from chatHistory where conversation_id=#{conversation_id}")
	public String getHistoryById(Integer conversation_id);
	
	@Select("select count(*) from chatHistory")
	public Integer getId () ;
}
